package com.hollycrm.unicom.sheet.define;

import java.io.Serializable;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author Tian Kai
 * @version 1.0
 */

public class GeneralCode implements Serializable {

    private GeneralCodeCompositeID compID;

    private String codeID;
    private String codeType;
    private String codeName;
    private String isValid;
    private String memo;

    public String getCodeID() {
        return codeID;
    }
    public void setCodeID(String codeID) {
        this.codeID = codeID;
    }
    public String getCodeName() {
        return codeName;
    }
    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }
    public String getCodeType() {
        return codeType;
    }
    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
    public String getIsValid() {
        return isValid;
    }
    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }
    public String getMemo() {
        return memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    public GeneralCodeCompositeID getCompID() {
        return compID;
    }
    public void setCompID(GeneralCodeCompositeID compID) {
        if (compID != null) {
            codeID = compID.getCodeID();
            codeType = compID.getCodeType();
        }
        this.compID = compID;
    }

}
